package com.sqx.modules.errand.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel("complaint")
public class SysComplaint implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)

    @ApiModelProperty("投诉id")
    private Long complaintId;


    @ApiModelProperty("订单类型 1即时代驾 2朋友代叫 3预约代驾")
    private String indentType;


    @ApiModelProperty("订单号")
    private String indentNumber;


    @ApiModelProperty("被投诉师傅id")
    private Long riderUserId;


    @ApiModelProperty("投诉类型id")
    private Integer illegalId;


    @ApiModelProperty("扣款金额")
    private BigDecimal deductMoney;


    @ApiModelProperty("违规说明")
    private String wrongExplain;


    @ApiModelProperty("投诉时间")
    private String complaintTime;

    @ApiModelProperty("城市id")
    private Long cityId;


    @ApiModelProperty("本投诉状态（1可申诉；2申诉中；3申诉未通过；4申诉通过；）")
    private Integer complaintState;


    @ApiModelProperty("管理员审核理由")
    private String auditMessage;


    @ApiModelProperty("申诉理由")
    private String appealMessage;


    @ApiModelProperty("申诉时间")
    private String appealTime;

    @ApiModelProperty("违规名称")
    @TableField(exist = false)
    private String illegal;

    @ApiModelProperty("城市名称")
    @TableField(exist = false)
    private String cityName;

    @ApiModelProperty("师傅昵称")
    @TableField(exist = false)
    private String nickName;

    @ApiModelProperty("出发地址")
    @TableField(exist = false)
    private String shipAddress;

    @ApiModelProperty("目的地址")
    @TableField(exist = false)
    private String deliveryAddress;

    public SysComplaint() {
    }
}